package com.guigu.pd.serviceapi.omsfeign;

import com.guigu.pd.serviceapi.pojo.OrderCargoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "pd-oms",path = "/oms/ordercargo")
public interface OrderCargoFeign {

    @GetMapping("/getordercargobyid/{id}")
    public OrderCargoEntity getordercargobyId(@PathVariable("id") String id);
}
